<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <p>{$msgTitle}</p>
        <p style="color:#f30;">{$message}</p>
        <p>页面会在<b id="wait">{$waitSecond}</b>秒后自动跳转到<a id="jumpUrl" href="{$jumpUrl}">上一页</a></p>
        <script type="text/javascript">
            (function() {
                var wait = document.getElementById('wait'), href = document.getElementById('jumpUrl').href;
                var interval = setInterval(function() {
                    var time = --wait.innerHTML;
                    if (time == 0) {
                        location.href = href;
                        clearInterval(interval);
                    };
                }, 1000);
            })();
        </script>
    </body>
</html>
